﻿<UserControl x:Class="RabbitMQ示例.使用彭轶提供组件的页面"
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
      xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
      xmlns:local="clr-namespace:RabbitMQ示例"
      mc:Ignorable="d" 
      d:DesignHeight="300" d:DesignWidth="300"
      >
    <Grid>
        <Button x:Name="button" Content=" 联接到MQ " HorizontalAlignment="Left" Margin="29,50,0,0" VerticalAlignment="Top" Width="96" Click="button_Click"/>
        <Button x:Name="btnExcange" Content=" 创建Exchange " HorizontalAlignment="Left" Margin="29,129,0,0" VerticalAlignment="Top" Width="96" Click="btnExcange_Click"/>
        <Button x:Name="btcahannel" Content=" 创建Channel " HorizontalAlignment="Left" Margin="29,90,0,0" VerticalAlignment="Top" Width="96" Click="btcahannel_Click"/>
        <Button x:Name="btnSend" Content=" 发送数据 " HorizontalAlignment="Left" Margin="29,171,0,0" VerticalAlignment="Top" Width="96" Click="btnSend_Click"/>

    </Grid>
</UserControl>
